package org.example.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.example.entity.Student;

import java.util.List;

/**
 *
 */
public interface StudentMapper {
    /*@Select("select * from t_student where id=#{id}")
    Student getById(String id);

    List<Student> getAll();

    @Insert("insert into t_student(id,name,age) values(#{id},#{name},#{age})")
    void insert(Student s);
    void update(Student s);
    void delete(String id);*/


    Student selectOne(int i);

}
